package com.pet.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@TableName("diary")
public class Diary extends BasePojo{
    @TableId(type = IdType.AUTO)
    private Integer id;//编号
    private Integer userId;//用户编号
    private String userName;
    private String title;//标题
    private String bref;
    private String details;
    private Integer status;//状态 1-公开 0-不公开
    private String picurl;
}
